import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";

@Entity("c_user")
export class UserEntity {
  @PrimaryGeneratedColumn()
  id: number;

  // @PrimaryColumn({ name: 'id' })
  // id: number;

  @Column({ name: "user_name" })
  username: string;

  @Column()
  password: string;
}
